package com.drug.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class SupervisoryBody {
    private Integer sbId;

    private String sbName;

    private String sbAdress;

    private String sbPhone;

    private String sbContacts;

    private String sbFax;

    private String sbEmail;

    private String sbUrl;

    private Integer sbIsdel;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date sbCreateTime;

    private String sbState;

    public Integer getSbId() {
        return sbId;
    }

    public void setSbId(Integer sbId) {
        this.sbId = sbId;
    }

    public String getSbName() {
        return sbName;
    }

    public void setSbName(String sbName) {
        this.sbName = sbName == null ? null : sbName.trim();
    }

    public String getSbAdress() {
        return sbAdress;
    }

    public void setSbAdress(String sbAdress) {
        this.sbAdress = sbAdress == null ? null : sbAdress.trim();
    }

    public String getSbPhone() {
        return sbPhone;
    }

    public void setSbPhone(String sbPhone) {
        this.sbPhone = sbPhone == null ? null : sbPhone.trim();
    }

    public String getSbContacts() {
        return sbContacts;
    }

    public void setSbContacts(String sbContacts) {
        this.sbContacts = sbContacts == null ? null : sbContacts.trim();
    }

    public String getSbFax() {
        return sbFax;
    }

    public void setSbFax(String sbFax) {
        this.sbFax = sbFax == null ? null : sbFax.trim();
    }

    public String getSbEmail() {
        return sbEmail;
    }

    public void setSbEmail(String sbEmail) {
        this.sbEmail = sbEmail == null ? null : sbEmail.trim();
    }

    public String getSbUrl() {
        return sbUrl;
    }

    public void setSbUrl(String sbUrl) {
        this.sbUrl = sbUrl == null ? null : sbUrl.trim();
    }

    public Integer getSbIsdel() {
        return sbIsdel;
    }

    public void setSbIsdel(Integer sbIsdel) {
        this.sbIsdel = sbIsdel;
    }

    public Date getSbCreateTime() {
        return sbCreateTime;
    }

    public void setSbCreateTime(Date sbCreateTime) {
        this.sbCreateTime = sbCreateTime;
    }

    public String getSbState() {
        return sbState;
    }

    public void setSbState(String sbState) {
        this.sbState = sbState == null ? null : sbState.trim();
    }
}